
package system.base;

import framework.core.*;

public class OrderDetailSignInSrv extends IHandler
{

	public OrderDetailSignInSrv() 
	{
		super();
	}


	private void listOrderDetailSignIn(DBConnection con,SrvContext context,String path) throws Exception
	{
		OrderDetailSignInSearchEvent event = (OrderDetailSignInSearchEvent)SearchEvent.fromForm(context,OrderDetailSignInSearchEvent.class);
		context.setSessionValue("OrderDetailSignInSearchEvent",event);
		context.setNextUrl(path+"OrderDetailSignInList.jsp");
	}

	
	public void doAction(DBConnection con,SrvContext context,ILoginContext loginContext) throws Exception
	{
		String action_code = context.getActionCode();
		String path = "/system/base/";
		
		if(action_code.equalsIgnoreCase("listOrderDetailSignIn"))
		{
			listOrderDetailSignIn(con,context,path);
			return;
		}
		Logger.throwException("GsBusOrderGoodsSrv","unknown action_code="+action_code);
	}
}
